package com.xr.controller.payroll;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import com.bstek.dorado.action.*;
import com.bstek.dorado.action.mapping.ActionForward;
import com.bstek.dorado.view.data.*;
import com.bstek.dorado.view.rpc.UpdateDataRPCHandler;
import com.bstek.dorado.view.rpc.RPCHelper;

/**
 * taxBase
 */
public class taxRatioController extends Controller {
	/*public ActionForward doAction(Action action, HttpServletRequest request,
			HttpServletResponse response) throws Exception {
		// Add your code here
		// UpdateHandle.processUpdate(request, response);
		return action.findDefaultForward();
	}*/	
	public ActionForward doAdd(Action action, HttpServletRequest request,
			HttpServletResponse response) throws Exception {
		UpdateDataRPCHandler handler = RPCHelper.getUpdateDataHandler(request);
		if (handler != null) {
			handler.execute();
		}
		return action.findDefaultForward();
	}

}
